package com.mf.Enum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: lmf
 * @Create: 2024/5/1 10:37
 * Description:
 */

@Getter // 提供获取属性值的getter方法
@AllArgsConstructor  //全参构造函数
enum LookType {
    _5m("5m" , "5分钟"),
    _15m("15m" , "15分钟"),
    _30m( "30m", "30分钟"),
    _60m( "60m", "60分钟"),
    DN( "dn", "日线未复权"),
    DQ( "dq", "日线前复权"),
    DH( "dh", "日线后复权"),
    WN( "wn", "周线未复权"),
    WQ( "wq", "周线前复权"),
    WH( "wh", "周线后复权"),
    MN( "mn", "月线未复权"),
    MQ( "mq", "月线前复权"),
    MH( "mh", "月线后复权"),
    YN( "yn", "年线未复权"),
    YQ( "yq", "年线前复权"),
    YH( "yh", "年线后复权"),
    ;

    final private String code ;      // 业务状态码
    final private String message ;    // 响应消息

}
